<template>
	<scroll-view scroll-y enhanced show-scrollbar="false">
		<view class="navigator-container">
			<view class="navigator-model">
				<navigator url="/pages/tabBar/tabComponentPage/container/view/view" >
					<button type="default">跳转到新页面</button>
				</navigator>
				<navigator url="/pages/tabBar/tabComponentPage/container/view/view" open-type="redirect" >
					<button type="default">在当前页打开</button>
				</navigator>
				<navigator url="/pages/tabBar/tabComponentPage/tabComponentPage" open-type="switchTab" >
					<button type="default">跳转tab页面</button>
				</navigator>
			</view>
		</view>
	</scroll-view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
.navigator-container{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.navigator-model{
	width: 95%;
}
.navigator-model>navigator{
	margin-top: 10rpx;
	margin-bottom: 10rpx;
}
</style>